﻿<%@ Page Language="C#" MasterPageFile="~/site.master" AutoEventWireup="true" CodeFile="HabilitarPeriodost.aspx.cs" Inherits="Secretaria_HabilitarPeriodost"  %>

<%@ Register Src="../Controles/CboGeneric.ascx" TagName="CboGeneric" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageContainer" Runat="Server">
    <table style="width: 494px; height: 157px">
        <tr>
            <td style="width: 113px">
                Sede</td>
            <td style="width: 316px">
                <uc1:CboGeneric ID="cboSede" runat="server"  
                 SourceData="Sedes"
                  NameDescript="DescripcionSede"
                  NameId="IdSede"
                  TipoOrigen="Tabla"
                />
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td style="width: 113px; height: 25px">
                Tipo Planilla</td>
            <td style="width: 316px; height: 25px">
                <uc1:CboGeneric ID="CboTipoPlanilla"
                 runat="server" 
                
                 />
            </td>
            <td style="height: 25px">
            </td>
        </tr>
        <tr>
            <td style="width: 113px; height: 112px;">
            </td>
            <td style="width: 316px; height: 112px;">
                <asp:GridView ID="GridView1" 
                runat="server" OnRowDataBound="GridView1_RowDataBound"
                AutoGenerateColumns="False"
                DataKeyNames = "IdPeriodo"
                >
                <Columns>
                <asp:BoundField DataField="idPeriodo" HeaderText="Id" />
                <asp:BoundField DataField="Periodo" HeaderText="Periodo" />
                    <asp:TemplateField HeaderText="Estado">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("estado") %>'></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            
                            <asp:CheckBox ID="ckhBox" runat="server" Checked="false" />
                        </ItemTemplate>
                    </asp:TemplateField>
                
                </Columns>
                </asp:GridView>
            </td>
            <td style="height: 112px">
            </td>
        </tr>
        <tr>
            <td style="width: 113px">
            </td>
            <td style="width: 316px">
                <asp:Button ID="cmdGuardar" runat="server" CssClass="input-button" OnClick="cmdGuardar_Click"
                    Text="Guardar" Width="242px"  Visible="false"/></td>
            <td>
            </td>
        </tr>
    </table>
</asp:Content>

